package cn.neusoft;
import cn.neusoft.xmldi.UserController;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringTest05{

	@Test
	public void test01(){

		ApplicationContext appContext =
				new ClassPathXmlApplicationContext("applicationContext_config.xml");
		UserController userController = (UserController) appContext.getBean("userController");
		userController.add();
	}



}
